package tw.chen.unlock;

import android.content.Intent;
import android.hardware.Sensor;
import android.hardware.SensorManager;

public class Values 
{
	public static String SETTING = "tw.chen.unlock.SETTING";
	public static String STATUS = "tw.chen.unlock.WIDGET_ENABLE_STATUS";
	public static String START_SERVICE = "tw.chen.unlock.START_SERVICE";
	public static String AXIS_TYPE = "tw.chen.unlock.AXIS_TYPE";
	public static String DIRECTION = "tw.chen.unlock.DIRECTION";
	public static String DEGREES = "tw.chen.unlock.DEGREES";
	public static String DRIFT = "tw.chen.unlock.DRIFT";
	public static String SCREEN_ON = Intent.ACTION_SCREEN_ON;
	public static String SCREEN_OFF  =Intent.ACTION_SCREEN_OFF;
	
	public static int SETTING_PAGE  =0;
	public static int ACCELEROMETER = Sensor.TYPE_ACCELEROMETER;
	public static int MAGNETIC = Sensor.TYPE_MAGNETIC_FIELD;
	public static int rateUs_NORMAL = SensorManager.SENSOR_DELAY_NORMAL;
	public static int rateUs_FAST = SensorManager.SENSOR_DELAY_FASTEST;

	public final static int AXIS_X = 0;
	public final static int AXIS_Y = 1;
	public final static int AXIS_Z = 2;
	
	public final static int EAST = 0;
	public final static int EAST_S = 1;
	public final static int SOUTH = 2;
	public final static int SOUTH_W = 3;
	public final static int WEST = 4;
	public final static int WEST_N = 5;
	public final static int NORTH = 6;
	public final static int NORTH_E = 7;
	
}
